<script setup>

</script>

<template>
  <el-table :data="tableData" border style="width: 100%" :header-cell-style="{ background: '#EEEEEE' ,border: '0.5px solid #DBDBDB'}" >
    <el-table-column prop="id" label="账号ID" />
    <el-table-column prop="account" label="账号"  />
    <el-table-column prop="name" label="姓名" />
    <el-table-column prop="role" label="绑定角色" />
    <el-table-column prop="describe" label="描述" />
    <el-table-column prop="adder" label="添加人" />
    <el-table-column prop="time" label="添加时间"  />
    <el-table-column fixed="right" label="操作" width="300" >
      <template #default style="display: flex">
        <el-button @click="edit" class="btn">编辑</el-button>
        <el-button @click="enable" class="btn">启用</el-button>

        <el-button @click="deleteEvt" class="btn">删除</el-button>
      </template>
    </el-table-column>
  </el-table>

</template>

<style scoped lang="scss">

</style>